<#include "/common/_layout.html"/> <@layout>
<h1>
	补丁管理&nbsp;&nbsp; <a href="/patch/add">创建补丁</a>
</h1>
<table class="table">
	<tbody>
		<tr>
			<th width="5%">id</th>
			<th width="15">名字</th>
			<th width="10%">模块名</th>
			<th width="10%">用户名</th>
			<th width="5%">专版</th>
			<th width="10%">版本</th>
			<th width="25%">补丁</th>
			<th width="15%">操作</th>
		</tr>

		<#list patchPage.getList() as x>
		<tr>
			<td style="text-align: left;">${x.id}</td>
			<td style="text-align: left;">${x.name}</td>
			<td style="text-align: left;">${x.modulename}</td>
			<td style="text-align: left;">${x.username}</td>
			<td style="text-align: left;"><input type="checkbox"
				name="patch.special" value="${(x.special)!}" disabled="true" /></td>
			<td style="text-align: left;">${x.version}</td>
			<td style="text-align: left;"><a
				href="/patch/download/${(x.id)}">补丁下载</a></td>
			<td style="text-align: left;">&nbsp;&nbsp;<a
				href="/patch/edit/${x.id}"><button type="button"
						class="btn btn-default">修改</button></a> &nbsp;&nbsp;<a
				href="/patch/delete/${x.id}"><button type="button"
						class="btn btn-default">删除</button></a>
			</td>
		</tr>
		</#list>
	</tbody>
</table>
<#include "/common/_paginate.html" /> <@paginate
currentPage=patchPage.pageNumber totalPage=patchPage.totalPage
actionUrl="/patch/" /> </@layout>
